Rust Essentials by Balbaert Ivo
Author:Balbaert, Ivo [Balbaert, Ivo]
Language: eng
Format: azw3, epub, pdf
Publisher: Packt Publishing
Published: 2015-05-26T16:00:00+00:00
It again shows Rust's commitment to be on the safe side; if it's Ok, it will give back a value of the T type, if there is a problem, then it will give back the error that will be a value of the E type (which is usually an error message string). So, we could read them also as Ok(what) and Err(why), where what has the T type and why has the E type.
So, why are Option and Result killer features of Rust? Remember from Chapter 4, Structuring Data and Matching Patterns in the section Result and Option how we used Option when getting a number input? Here, it is given again:
let input_num: Result<u32, _> = buf.trim().parse();
Download
Rust Essentials by Balbaert Ivo.epub
Rust Essentials by Balbaert Ivo.pdf
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Coding Theory | Localization |
Logic | Object-Oriented Design |
Performance Optimization | Quality Control |
Reengineering | Robohelp |
Software Development | Software Reuse |
Structured Design | Testing |
Tools | UML |
Deep Learning with Python by François Chollet(12571)
Hello! Python by Anthony Briggs(9916)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9796)
The Mikado Method by Ola Ellnestam Daniel Brolund(9779)
Dependency Injection in .NET by Mark Seemann(9340)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8300)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7763)
Grails in Action by Glen Smith Peter Ledbrook(7696)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7557)
Becoming a Dynamics 365 Finance and Supply Chain Solution Architect by Brent Dawson(7086)
Microservices with Go by Alexander Shuiskov(6854)
Practical Design Patterns for Java Developers by Miroslav Wengner(6774)
Test Automation Engineering Handbook by Manikandan Sambamurthy(6713)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6419)
Angular Projects - Third Edition by Aristeidis Bampakos(6120)
The Art of Crafting User Stories by The Art of Crafting User Stories(5649)
NetSuite for Consultants - Second Edition by Peter Ries(5582)
Demystifying Cryptography with OpenSSL 3.0 by Alexei Khlebnikov(5386)
Kotlin in Action by Dmitry Jemerov(5066)
